package com.bwie.config;

import org.apache.kafka.clients.admin.NewTopic;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author GaoYiJie
 * @Description
 * @Create 2025/4/17 13:14
 * @Version 1.0
 */
@Configuration
public class KafkaConfig {


    public static final String TOPIC_REPORT = "topic_report";

    @Bean
    public NewTopic getNewTopic(){
        return new NewTopic(TOPIC_REPORT,1, (short) 1);
    }

}
